package com.new1cloud.file.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 上传文件的基本信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FileUploadBasicInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    //文件唯一标识码
    private String fileHash;
    //文件大小，单位字节
    private Long fileSize;
    //文件名
    private String fileName;
    //文件上传的远端目录
    private String uploadPath;

    /**
     * 本次待上传的文件分片信息
     * add on 20240614
     */
    private FileChunkInfo needSendChunkFiles;
}
